{template 'member', 'header'}
<div class="layui-register">
	<div class="layui-title"><h2>用户注册</h2></div>
	<form method="post" action="" id="myform" class="layui-form layui-form-pane">
		<input type="hidden" name="siteid" value="{$siteid}" />
    	<div class="layui-form-item">
    		<label class="layui-form-label">{L('username')}</label>
    		<div class="layui-input-block">
    			<input type="text" name="username" id="username" lay-verify="username" autocomplete="off" placeholder="请输入用户名" class="layui-input" style="width: 170px;">
    		</div>
    	</div>
        <div class="layui-form-item">
        	<label class="layui-form-label">{L('password')}</label>
        	<div class="layui-input-block">
        		<input type="password" name="password" id="password" lay-verify="password" autocomplete="off" placeholder="请输入密码" class="layui-input" style="width: 170px;">
        	</div>
        </div>
        <div class="layui-form-item">
        	<label class="layui-form-label">{L('cofirmpwd')}</label>
        	<div class="layui-input-block">
        		<input type="password" name="pwdconfirm" id="pwdconfirm" lay-verify="pwdconfirm" autocomplete="off" placeholder="请再次输入密码" class="layui-input" style="width: 170px;">
        	</div>
        </div>
        <div class="layui-form-item">
        	<label class="layui-form-label">{L('email')}</label>
        	<div class="layui-input-block">
        		<input type="text" name="email" id="email" lay-verify="email" autocomplete="off" placeholder="请输入邮箱" class="layui-input" style="width: 170px;">
        	</div>
        </div>
		<div class="layui-form-item">
			<label class="layui-form-label">{L('nickname')}</label>
			<div class="layui-input-block">
				<input type="text" name="nickname" id="nickname" lay-verify="nickname" autocomplete="off" placeholder="请输入您的昵称" class="layui-input" style="width: 170px;">
			</div>
		</div>
        <div class="layui-form-item">
            <div class="layui-input-inline" style="width:100%;text-align: center;">
                <input type="checkbox" name="protocol" id="protocol" lay-verify="protocol" title="我同意纯美图网注册协议" checked>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-inline" style="width:100%;">
            	<input type="submit" name="dosubmit" value="{L('agree_protocol_post')}" class="layui-btn" lay-submit="" lay-filter="dosubmit">
            </div>
        </div>
		<div class="layui-form-item">
			<div class="layui-input-inline" style="width:100%;text-align: right;">
				<a href="{APP_PATH}index.php?m=member&c=index&a=login&siteid=1">已有账户，请登录！</a>
			</div>
		</div>
	</form>
</div>
<script type="text/javascript" src="{LAYUI_PATH}reg.js"></script>
{template 'member', 'footer'}